<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文件上传</title>
</head>
<body>
    <h2>文件上传</h2>
    <form action="/day04/upload.php" method="post" enctype="multipart/form-data">
        <div>
            <label>用户名: <input type="text" name="loginName"></label>
        </div>
        <div>
            <label>头像: <input type="file" name="headImage"></label>
        </div>
        <div>
            <input type="submit" value="提交">
        </div>
    </form>
</body>
</html>